//
//  GDBusStationLocationModel.m
//  GraduationDesign
//
//  Created by JiaKang.Zhong on 16/1/5.
//  Copyright © 2016年 JiaKang.Zhong. All rights reserved.
//

#import "GDBusStationLocationModel.h"

@implementation GDBusStationLocationModel


+(instancetype)locationWithDic:(NSDictionary *)dic{
    
    return [[self alloc] initWithDic:dic];
}

-(instancetype)initWithDic:(NSDictionary *)dic{
    if (self = [super init]) {
        
        _ID = dic[@"_id"]; // 附近的站点
        _lines = dic[@"lines"]; //  经过的公交路线
        _dist = dic[@"dist"];   // 相距的距离
        
    }
    return self;
}
@end
